package com.zkthink.ceres.product.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel("搜索商品的参数")
@Data
public class SearchProductDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("关键词")
    private String keyword;

    @ApiModelProperty("页码 从1开始")
    private Integer pageIndex;

    @ApiModelProperty("每页大小")
    private Integer pageSize;

    @ApiModelProperty("三级类目id")
    private Long category3Id;

    @ApiModelProperty("营销活动id")
    private Long promotionId;

    @ApiModelProperty("来源 1-搜索 2-商品列表")
    private Integer source;

    @ApiModelProperty(value = "用户id",hidden = true)
    private Long mid;
}
